package com.xquant.trade.trade.service.impl.otcOption;

import com.xquant.trade.trade.entity.BalanceChange;
import com.xquant.trade.trade.service.DayEndService;
import com.xquant.trade.utils.CommResponse;
import org.springframework.stereotype.Component;

@Component
public class DayEndServiceImpl4OtcOption implements DayEndService {
    @Override
    public String[] getAssetTypes() {
        return new String[]{"CTM"};
    }

    @Override
    public CommResponse doDayEnd(BalanceChange change) {
        return new CommResponse(true);
    }
}
